//
//  YCNotificationModel.h
//  YCSchool
//
//  Created by yanglinxia on 16/4/28.
//  Copyright © 2016年 yanglinxia. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef NS_ENUM(NSInteger,YCNoticeType) {
    ///0 喇叭图标,普通文本
    YCNoticeTypeText = 0,
    ///1 书本图标, 成绩通知
    YCNoticeTypeScore = 1,
};

typedef NS_ENUM(NSInteger,YCNoticeReadType) {
    /// 未读
    YCNoticeReadTypeNo = 0,
    /// 已读
    YCNoticeReadTypeYes = 1,
};

@interface YCNotificationModel : NSObject

@property (nonatomic, assign) NSInteger nid;
/** 通知类型  */
@property (nonatomic, assign) YCNoticeType type;
/** 标题  */
@property (nonatomic, strong) NSString *title;
/** 时间  */
@property (nonatomic, strong) NSString *addtime_str;
/** 是否已读  */
@property (nonatomic, assign) YCNoticeReadType readmark;

@end
